<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8" />
    <title></title>
    <link type="text/css" href="/css/core.css" rel="stylesheet"/>
    <link type="text/css" href="/layui/css/layui.css" rel="stylesheet">
    <link type="text/css" href="/css/main/module/article/articlelist.css" rel="stylesheet">
</head>
<body>
<div id="all">
    <div th:include="main/main_h :: main_head"></div>
    <div id="core">
        <div id="main">
            <div id="main_h"></div>
            <div id="main_m"></div>
            <div id="main_b">
                <div id="m_b_l">
                    <div th:each="article : ${articleList}">
                        <div class="wz_d">
                            <div class="wz_l" th:onclick="'getArticle('+${article.art_id}+')'">
                                <img class="fm" th:src="${article.art_img.file_path}+${article.art_img.file_name}"/>
                            </div>
                            <div class="wz_r">
                                <div class="wzn_d" >
                                    <div class="wzbt_d" th:onclick="'getArticle('+${article.art_id}+')'">
                                        <span th:text="${article.art_title}"></span>
                                    </div>
                                    <div class="wznr_d" th:onclick="'getArticle('+${article.art_id}+')'">
                                        <span th:text="${article.art_content}"></span>
                                    </div>
                                    <div class="wzsj_d">
                                        <i th:id="${article.art_id}+'up'" class="layui-icon layui-icon-praise" th:if="${article.isup==0}" th:onclick="|up('${article.art_id}','${article.user.user_id}')|"></i>
                                        <i th:id="${article.art_id}+'up'" class="layui-icon layui-icon-praise ischose" th:if="${article.isup!=0}" th:onclick="|up('${article.art_id}','${article.user.user_id}')|"></i>
                                        <span th:id="${article.art_id}+'upc'" th:text="${article.art_upcount}"></span>
                                        <i th:id="${article.art_id}+'down'" class="layui-icon layui-icon-tread" th:if="${article.isdown==0}" th:onclick="|down('${article.art_id}','${article.user.user_id}')|"></i>
                                        <i th:id="${article.art_id}+'down'" class="layui-icon layui-icon-tread ischose" th:if="${article.isdown!=0}" th:onclick="|down('${article.art_id}','${article.user.user_id}')|"></i>
                                        <span th:id="${article.art_id}+'downc'" th:text="${article.art_downcount}"></span>
                                        <span>作者:<span th:text="${article.user.user_name}"></span></span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div id="m_b_r">

                </div>
            </div>
        </div>
    </div>
</div>
</body>
<script src="/js/gj/jquery-3.5.1.min.js"></script>
<script src="/layui/layui.js"></script>
<script src="/js/main/module/article/articlelist.js"></script>
<script>

</script>
</html>